//
//  RequestData.h
//  Activity
//
//  Created by 李佳骏 on 15/6/30.
//  Copyright (c) 2015年 J.Lee. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol RequestFinish <NSObject>

- (void)requestSuccess:(NSData *)data;

- (void)requestError:(NSError *)error;

@end

@interface RequestData : NSObject

@property (nonatomic, assign)id<RequestFinish> delegate;

- (void)requestWithURL:(NSString *)url;

- (NSString *)creatFolderWithPath:(NSString *)path;

@end
